<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />


<input type="hidden" name="zh_parsen/fzr_name"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>" />
<input type="hidden" name="zh_parsen/fzr_mobile"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>" />
<input type="hidden" name="zh_parsen/fzr_tel"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>" />
<input type="hidden" name="zh_parsen/fzr_email"
       value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>" />
<div class="t_bar">实验室及依托单位基本情况</div>
<table class="t_css" width="100%" id="table_01">
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <col style="width: 15%;" />
    <tr>
        <td align="right"><span class="color_red">*</span>拟建实验室名称：</td>
        <td >
            <input type='text' name='proposal/zh_title' id='zh_title' style="width: 92%"
                   class="input_css required" maxlength="50"
                   value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="拟建实验室名称">
        </td>
        <td align="right"><span class="color_red">*</span>学科领域：</td>
        <td >
            <c:set var="applicant_subject_value"><x:out select="$xmlData/data/proposal/applicant_subject_value" /></c:set>
            <c:set var="appl_sub_params">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject_value" />" />
            <input name="proposal/applicant_subject_name" class="required" label="学科领域" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject" key="zdsys" className="selectWidth2" onChange="initControlValue('applicant_subject');diagnose()"  value="${applicant_subject_value}"></cpt:select>
        </td>
        <td align="right"><span class="color_red">*</span>技术领域：</td>
        <td >
            <c:set var="applicant_subject6_value"><x:out select="$xmlData/data/proposal/applicant_subject6_value" /></c:set>
            <c:set var="appl_sub_params6">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code6" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject6_value"  type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject6_value" />" />
            <input name="proposal/applicant_subject6_name" class="required" label="技术领域" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject6_name" />" />
            <cpt:select style="width: 100px;" id="applicant_subject6" key="zdsys1" className="selectWidth2" onChange="initControlValue('applicant_subject6'); diagnose()" value="${applicant_subject6_value}"></cpt:select>
        </td>
    </tr>
    <%--  <tr>
          <td align="right"><span class="color_red">*</span>研究领域或所在学科：</td>
          <td colspan="2">
              <input type="text" label="研究领域或所在学科" name="proposal/field_or_subject"
                  class="input_css required" maxlength="50"
                  value="<x:out select="$xmlData/data/proposal/field_or_subject" />">
          </td>
          <td align="right"><span class="color_red">*</span>归口管理部门：</td>
          <td>
              <c:set var="recomend_org">{'id':'<x:out
                      select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out
                      select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
              <cpt:tree key="recommended_org" cacheable="false" className="hn_iuput_kuang "
                  readonly="true" value="${recomend_org}" label="归口管理部门" id="recomend_org"
                  onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true"
                  onClick="initTreeValueExt" />
              <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"
                  class="required"
                  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
              <input type="hidden" name="proposal/recomend_org_name"
                  value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
          </td>
      </tr>--%>
    <tr>
        <td align="right"><span class="color_red">*</span>申报时间：</td>
        <td colspan="2">
            <c:set var="submit_date">
                <x:out select="$xmlData/data/proposal/submit_date" />
            </c:set>
            <cpt:date id="apply_date_curr" name="proposal/submit_date" value="${submit_date}"
                      className="required date" label="申报时间"></cpt:date>
        </td>
        <td align="right"><span class="color_red">*</span>归口管理部门：</td>
        <td colspan="2">
            <c:set var="recomend_org">
                {'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />',
                'name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'
                }
            </c:set> <cpt:tree id="recomend_org" key="recommended_org" cacheable="false" className="hn_iuput_kuang required selectWidth3" readonly="true"  value="${recomend_org}" label="归口管理部门"
                               showPattern="all" shieldPattern="0" onClick="initTreeValueExt">
        </cpt:tree>
            <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" >
            <input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
        </td>
    </tr>

    <tr>
        <td rowspan="3" align="right">实验室主任：</td>
        <td align="right">姓名：</td>
        <td>
            <span name="proposal/fzr_psnname"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/></span>
        </td>
        <td align="right">出生日期：</td>
        <td colspan="2">
            <span name="proposal/fzr_birthday"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/birthday"/></span>

        </td>
    </tr>
    <tr>
        <td align="right">职称：</td>
        <td>
            <span name="proposal/fzr_prof_title_name"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/prof_title_name"/></span>
        </td>
        </td>
        <td align="right">职务：</td>
        <td colspan="2">
            <span name="proposal/fzr_position"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/position"/></span>

        </td>
    </tr>
    <tr>
        <td align="right">专业专长：</td>
        <td>
            <span name="proposal/fzr_major_work"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/major_work"/></span>

        </td colspan="2">
        <td align="right">最高学位 ：</td>
        <td colspan="2">
            <span name="proposal/fzr_degree_name"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/degree_name"/></span>

        </td>
    </tr>
    <tr>
        <td rowspan="2" align="right"><span class="color_red">*</span>联系人：</td>
        <td align="right">姓名：</td>
        <td >
            <input type="text" label="联系人-->姓名" name="proposal/contact_psn_cname"
                   class="input_css required" maxlength="50"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />">
        </td>
        <td align="right">手机号码：</td>
        <td colspan="2">
            <input type="text" label="联系人-->手机号码" name="proposal/contact_psn_mobile"
                   class="input_css required mobile" onfocus="InitInput.setNumber(this,11,0,0)"
                   maxlength="11"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />">
        </td>
    </tr>
    <tr>
        <td align="right">邮箱：</td>
        <td >
            <input type="text" label="联系人-->邮箱" name="proposal/contact_psn_email"
                   class="input_css required email" maxlength="30"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_email" />">
        </td>
        <td align="right">传真：</td>
        <td colspan="2">
            <input type="text" label="联系人-->传真" name="proposal/contact_psn_mail"
                   class="input_css required "
                   maxlength="100"
                   value="<x:out select="$xmlData/data/proposal/contact_psn_mail" />">
        </td>
    </tr>




</table>

<table class="t_css" width="100%" id="table_02" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 14%" />
    <col style="width: 14%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />
    <col style="width: 13%" />

    <tr>
        <td colspan="2" rowspan="2"><span class="color_red">*</span>近三年来承担课题</td>
        <td colspan="6">其中</td>
    </tr>
    <tr>
        <td colspan="2">国家级项目</td>
        <td colspan="2">省部级项目</td>
        <td colspan="2">横向课题</td>
    </tr>
    <tr>
        <td rowspan="5">
            年度实到经费<br />（万元）
        </td>
        <td>年度</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
        <td>项目（项）</td>
        <td>经费（万元）</td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year1">${statYear-1}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year1_count" id="topic_level1_year1_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year1_fund" id="topic_level1_year1_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_count" id="topic_level2_year1_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year1_fund" id="topic_level2_year1_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_count" id="topic_level3_year1_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year1_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year1_fund" id="topic_level3_year1_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第一行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year1_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>


        <td align="center" ><span name="proposal/topic_level1_year2">${statYear-2}</span>年</td>



        <td>
            <input name="proposal/topic_level1_year2_count" id="topic_level1_year2_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year2_fund" id="topic_level1_year2_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_count" id="topic_level2_year2_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year2_fund" id="topic_level2_year2_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_count" id="topic_level3_year2_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year2_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year2_fund" id="topic_level3_year2_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第二行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year2_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>

        <td align="center" ><span name="proposal/topic_level1_year3">${statYear-3}</span>年</td>

        <td>
            <input name="proposal/topic_level1_year3_count" id="topic_level1_year3_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level1_year3_fund" id="topic_level1_year3_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->国家级项目-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_count" id="topic_level2_year3_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level2_year3_fund" id="topic_level2_year3_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->省部级项目-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_count" id="topic_level3_year3_count"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->项目中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year3_count" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/topic_level3_year3_fund" id="topic_level3_year3_fund"
                   class="required" label="近三年来承担课题-->年度实到经费-->横向课题-->经费中第三行"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_year3_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td>合计</td>
        <td>
            <input name="proposal/topic_level1_total_count" id="topic_level1_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level1_total_fund" id="topic_level1_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level1_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level2_total_count" id="topic_level2_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level2_total_fund" id="topic_level2_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level2_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level3_total_count" id="topic_level3_total_count" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_total_count" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
        <td>
            <input name="proposal/topic_level3_total_fund" id="topic_level3_total_fund" disabled="disabled"
                   value="<x:out select="$xmlData/data/proposal/topic_level3_total_fund" />"
                   style="text-align: right; width: 80%;" class="gray"  />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" id="table_03" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="6"><span class="color_red">*</span>近三年研究成果</td>
        <td rowspan="3">
            获奖<br />（项）
        </td>
        <td colspan="2">国家科技奖</td>
        <td colspan="3">省级科技奖</td>
        <td colspan="3">其他类型科技奖</td>
    </tr>
    <tr>
        <td>一等</td>
        <td>二等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
        <td>一等</td>
        <td>二等</td>
        <td>三等</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_winning_status1_level1" class="required"
                   label="近三年研究成果-->获奖-->国家科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status1_level2" class="required"
                   label="近三年研究成果-->获奖-->国家科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status1_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level1" class="required"
                   label="近三年研究成果-->获奖-->省级科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level2" class="required"
                   label="近三年研究成果-->获奖-->省级科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status2_level3" class="required"
                   label="近三年研究成果-->获奖-->省级科技奖-->三等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status2_level3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level1" class="required"
                   label="近三年研究成果-->获奖-->其他类型科技奖-->一等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level2" class="required"
                   label="近三年研究成果-->获奖-->其他类型科技奖-->二等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_winning_status3_level3" class="required"
                   label="近三年研究成果-->获奖-->其他类型科技奖-->三等"
                   value="<x:out select="$xmlData/data/proposal/research_findings_winning_status3_level3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td rowspan="2">
            论文<br />（篇）
        </td>
        <td>SCI</td>
        <td>EI</td>
        <td>核心</td>
        <td rowspan="2">发明专利（件）</td>
        <td>申报</td>
        <td>
            <input name="proposal/research_findings_paper_status1" class="required"
                   label="近三年研究成果-->发明专利-->申报"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td rowspan="2">专著（部）</td>
        <td rowspan="2">
            <input name="proposal/research_findings_paper_status2" class="required"
                   label="近三年研究成果-->专著"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_findings_paper_status3" class="required"
                   label="近三年研究成果-->论文-->SCI"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status4" class="required"
                   label="近三年研究成果-->论文-->EI"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_findings_paper_status5" class="required"
                   label="近三年研究成果-->论文-->核心"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>授权</td>
        <td>
            <input name="proposal/research_findings_paper_status6" class="required"
                   label="近三年研究成果-->发明专利-->授权"
                   value="<x:out select="$xmlData/data/proposal/research_findings_paper_status6" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
    <tr>
        <td colspan="2">技术转让（项）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer" class="required"
                   label="近三年研究成果-->技术转让"
                   value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="3">技术转让收益（万元）</td>
        <td colspan="2">
            <input name="proposal/research_findings_technology_transfer_fund" class="required"
                   label="近三年研究成果-->技术转让收益"
                   value="<x:out select="$xmlData/data/proposal/research_findings_technology_transfer_fund" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
</table>
<table class="t_css" width="100%" id="table_04" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>研究队伍</td>
        <td>总数</td>
        <td>国家级人才</td>
        <td>省级人才</td>
        <td>高级职称</td>
        <td>其中博士</td>
        <td>其中硕士</td>
        <td>35岁以下</td>
        <td>35-50岁</td>
        <td>50岁以上</td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_team_total" class="required"
                   value="<x:out select="$xmlData/data/proposal/research_team_total" />"
                   style="text-align: right; width: 80%; "    label="研究队伍-->总数"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)"
            />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas1" id="research_team_count_stutas1"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas1" label="研究队伍-->国家级人才"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas2" id="research_team_count_stutas2"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas2" label="研究队伍-->省级人才"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas3" id="research_team_count_stutas3"
                   class="required  valueGreatEqual:research_team_total:research_team_count_stutas3" label="研究队伍-->高级职称"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas4" id="research_team_count_stutas4"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas4" label="研究队伍-->其中博士"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas5" id="research_team_count_stutas5"
                   class="required valueGreatEqual:research_team_total:research_team_count_stutas5" label="研究队伍-->其中硕士"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas6" id="research_team_count_stutas6"
                   class="required" label="研究队伍-->35岁以下"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas6" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas7" id="research_team_count_stutas7"
                   class="required" label="研究队伍-->35-50岁"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas7" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td>
            <input name="proposal/research_team_count_stutas8" id="research_team_count_stutas8"
                   class="required" label="研究队伍-->50岁以上"
                   value="<x:out select="$xmlData/data/proposal/research_team_count_stutas8" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
    </tr>
</table>

<table class="t_css" width="100%" style="text-align: center;" id="table_05">
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <col style="width: 10%" />
    <tr>
        <td rowspan="2"><span class="color_red">*</span>科研基础</td>
        <td>
            研究单元数
        </td>
        <td colspan="2">
            实验室面积<br />（平方米）
        </td>
        <td colspan="2">
            仪器设备总值<br />（万元）
        </td>
        <td colspan="2">大型设备（台/套）</td>
        <td colspan="2">
            近三年经费投入<br />（万元）
        </td>
    </tr>
    <tr>
        <td>
            <input name="proposal/research_base_stutas1" class="required"
                   label="科研基础-->研究单元数"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas1" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas2" class="required"
                   label="科研基础-->实验室面积"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas2" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas3" class="required"
                   label="科研基础-->仪器设备总值"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas3" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas4" class="required"
                   label="科研基础-->大型设备"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas4" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" />
        </td>
        <td colspan="2">
            <input name="proposal/research_base_stutas5" class="required"
                   label="科研基础-->近三年经费投入"
                   value="<x:out select="$xmlData/data/proposal/research_base_stutas5" />"
                   style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
        </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span> 子类别：</td>
        <td colspan="9">
            <c:set var="genre_type_value"><x:out select="$xmlData/data/proposal/genre_type_value" /></c:set>
            <cpt:checkbox key="genre_type" name="genre_type" width="160"  tagType="radio" onClick="changeJl()" repeatColumn="3" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
            <input type="hidden" name="proposal/genre_type_value" class="required" id="genre_type_value" label="子类别" value="<x:out select="$xmlData/data/proposal/genre_type_value" />"/>
            <input type="hidden" name="proposal/genre_type_name" value="<x:out select="$xmlData/data/proposal/genre_type_name" />"/>
        </td>
    </tr>
</table>

<c:set var="nature_value"><x:out select="$xmlData/data/organizations/organization[@submit_org='1']/nature_value" /></c:set>
<c:choose>
    <c:when test="${fn:substring(nature_value,0,1) eq 'A'}">
        <table class="t_css" width="100%" id="table_06" style="text-align: center;">
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <tr>
                <td rowspan="6"><span class="color_red">*</span>依托单位</td>
                <td rowspan="6">
                    企业单位
                </td>
                <td colspan="3">经济类型</td>
                <td colspan="2">总员工数（人）</td>
                <td colspan="2">是否高新技术企业</td>
                <td colspan="1">是否上市</td>
            </tr>
            <tr>
                <td colspan="3">
                    <c:set var="economic_type_value">
                        <x:out select="$xmlData/data/proposal/economic_type_value" />
                    </c:set>
                    <c:set var="economic_type_other">
                        <x:out select="$xmlData/data/proposal/economic_type_other" />
                    </c:set>
                    <cpt:checkbox key="economic_type" name="economic_type"
                                  width="25%" repeatColumn="3" value="${economic_type_value }"
                                  lastOther="true" otherId="economic_type_other" tagType="radio"
                                  otherValueName="${economic_type_other }"></cpt:checkbox>
                    <input type="text" id="economic_type_other"
                           name="proposal/economic_type_other" maxlength="50"
                           style="border: none; border-bottom: 1px solid gray; width: 100px;"
                           label="依托单位-->企业单位-->经济类型-->其他"
                           value="<x:out select="$xmlData/data/proposal/economic_type_other"/>" />
                    <input type="hidden" id="economic_type_value"
                           name="proposal/economic_type_value" class="required"
                           value="${economic_type_value}" label="依托单位-->企业单位-->经济类型">
                    <input type="hidden" name="proposal/economic_type_name"
                           value="<x:out select="$xmlData/data/proposal/economic_type_name" />" />
                </td>
                    <%-- <td colspan="2">
                         <input name="proposal/domestic_capital_ratio" class=""
                             value="<x:out select="$xmlData/data/proposal/domestic_capital_ratio" />"
                             style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" />
                     </td>--%>
                <td colspan="2">
                    <input name="proposal/emp_total_count" class="required"
                           value="<x:out select="$xmlData/data/proposal/emp_total_count" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,0,0)" label="依托单位-->企业单位-->总员工数" >
                </td>
                <td colspan="2">
                    <c:set var="boolean1">
                        <x:out select="$xmlData/data/proposal/boolean1_value" />
                    </c:set>
                    <cpt:select id="boolean1" key="boolean" className="input_css" name="boolean1"
                                onChange="initControlValue(this.id);" value="${boolean1 }"
                                style="width:80px;border: 1px solid #A1C0DC;"></cpt:select>
                    <input type="hidden" name="proposal/boolean1_value" value="${boolean1 }"
                           class="input_text required" label="依托单位-->企业单位-->是否高新技术企业" />
                    <input type="hidden" name="proposal/boolean1_name"
                           value="<x:out select="$xmlData/data/proposal/boolean1_name" />" />
                </td>
                <td colspan="1">
                    <c:set var="boolean2">
                        <x:out select="$xmlData/data/proposal/boolean2_value" />
                    </c:set>
                    <cpt:select id="boolean2" key="boolean" className="input_css" name="boolean2"
                                onChange="initControlValue(this.id);" value="${boolean2 }"
                                style="width:80px;border: 1px solid #A1C0DC;"></cpt:select>
                    <input type="hidden" name="proposal/boolean2_value" value="${boolean2 }"
                           class="input_text required" label="依托单位-->企业单位-->是否上市" />
                    <input type="hidden" name="proposal/boolean2_name"
                           value="<x:out select="$xmlData/data/proposal/boolean2_name" />" />
                </td>
            </tr>
            <tr>
                <td colspan="2" rowspan="4">近三年研发投入及占年销售收入比例（%）</td>
                <td colspan="1" >年度</td>
                <td colspan="2" >研发投入（万元）</td>
                <td colspan="2" >年销售收入（万元）</td>
                <td colspan="1" >比例</td>
            </tr>
            <tr>
                <td >${statYear-1}年</td>
                <td colspan="2">
                    <input name="proposal/year1_investment" id="year1_investment" onchange="peo()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year1_investment" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第一行-->研发投入" />
                </td>
                <td colspan="2">
                    <input name="proposal/year1_sales_proportion" id="year1_sales_proportion" onchange="peo()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year1_sales_proportion" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)"  label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第一行-->年销售收入"/>
                </td>
                <td>
                    <input name="proposal/year1_proportion" id="year1_proportion" class="gray" disabled="disabled"
                           value="<x:out select="$xmlData/data/proposal/year1_proportion" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)"  label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第一行-->比例"/>
                </td>

            </tr>

            <tr>

                <td >${statYear-2}年</td>
                <td colspan="2">
                    <input name="proposal/year2_investment" id="year2_investment" onchange="peo2()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year2_investment" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第二行-->研发投入"/>
                </td>
                <td colspan="2">
                    <input name="proposal/year2_sales_proportion" id="year2_sales_proportion" onchange="peo2()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year2_sales_proportion" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第二行-->年销售收入"/>
                </td>
                <td >
                    <input name="proposal/year2_proportion" id="year2_proportion" class="gray"
                           value="<x:out select="$xmlData/data/proposal/year2_proportion" />"  disabled="disabled"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第二行-->比例"/>
                </td>
            </tr>
            <tr>
                <td >${statYear-3}年</td>
                <td colspan="2">
                    <input name="proposal/year3_investment"  id="year3_investment"  onchange="peo3()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year3_investment" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第三行-->研发投入"/>
                </td>
                <td colspan="2">
                    <input name="proposal/year3_sales_proportion" id="year3_sales_proportion" onchange="peo3()" class="required"
                           value="<x:out select="$xmlData/data/proposal/year3_sales_proportion" />"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第三行-->年销售收入"/>
                </td>
                <td>
                    <input name="proposal/year3_proportion"  id="year3_proportion"   class="gray"
                           value="<x:out select="$xmlData/data/proposal/year3_proportion" />" disabled="disabled"
                           style="text-align: right; width: 80%;" onfocus="InitInput.setNumber(this,9,2,2)" label="依托单位-->企业单位-->-->近三年研发投入及占年销售收入比例-->年度第三行-->比例"/>
                </td>
            </tr>

        </table>


        <%--<table class="t_css" width="100%" style="text-align: center;" id="table_08">
            <col style="width: 20%;" />
            <col style="width: 80%;" />
            <tr>
                <td align="right">
                  <span class="color_red">*</span>项目简述：<br />（限280字）
                </td>
                <td>
                    <textarea name="proposal/prj_brief" class="input_textarea required maxlength:280"
                        label="项目简述" style="width: 98%" rows="9"><x:out
                            select="$xmlData/data/proposal/prj_brief" /></textarea>
                    <input type="hidden" name="proposal/prj_brief_hidden"
                        value="<x:out select="$xmlData/data/proposal/prj_brief_hidden" />" />
                </td>
            </tr>--%>

    </c:when>
    <c:otherwise>
        <table class="t_css" width="100%" id="table_06" style="text-align: center;">
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <col style="width: 10%" />
            <tr>
                <td ><span class="color_red">*</span>依托单位</td>
                <td>非企业单位</td>
                <td>单位性质</td>
                <td colspan="4">
                    <c:set var="nature_type3_value">
                        <x:out select="$xmlData/data/proposal/nature_type3_value" />
                    </c:set>
                    <cpt:checkbox key="nature_type3" name="nature_type3" width="70px" repeatColumn="4"
                                  value="${nature_type3_value }" tagType="radio"></cpt:checkbox>
                    <input type="hidden" id="nature_type3_value" name="proposal/nature_type3_value"
                           class="required" value="${nature_type3_value}" label="依托单位-->非企业单位-->单位性质">
                    <input type="hidden" name="proposal/nature_type3_name"
                           value="<x:out select="$xmlData/data/proposal/nature_type3_name" />">
                </td>
                <td>属地</td>
                <td colspan="2">
                    <c:set var="territorial_value">
                        <x:out select="$xmlData/data/proposal/territorial_value" />
                    </c:set>
                    <cpt:checkbox key="territorial" name="territorial" width="70px" repeatColumn="4"
                                  value="${territorial_value }" tagType="radio"></cpt:checkbox>
                    <input type="hidden" id="territorial_value" name="proposal/territorial_value"
                           class="required" value="${territorial_value}" label="依托单位-->非企业单位-->属地">
                    <input type="hidden" name="proposal/territorial_name"
                           value="<x:out select="$xmlData/data/proposal/territorial_name" />">
                </td>
            </tr>

        </table>
    </c:otherwise>
</c:choose>
<table class="t_css" width="100%" id="table_00" style="text-align: center;">
    <col style="width: 10%" />
    <col style="width: 15%" />
    <col style="width: 15%" />
    <col style="width: 15%" />
    <col style="width: 15%" />
    <col style="width: 15%" />
    <col style="width: 15%" />
    <tr>
        <td rowspan="3"><span class="color_red">*</span>合作共建单位</td>
        <td>单位名称</td>
        <td colspan="2">
            <input name="proposal/unit_proportion"  class="required"
                   value="<x:out select="$xmlData/data/proposal/unit_proportion" />"
                   style="text-align: left; width: 80%;" maxlength="50" label="合作共建单位-->单位名称"/>
        </td>
        <td>单位性质</td>
        <td colspan="2">
            <c:set var="applicant_subject2_value"><x:out select="$xmlData/data/proposal/applicant_subject2_value" /></c:set>
            <c:set var="appl_sub_params2">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code2" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject2_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject2_value" />" />
            <input name="proposal/applicant_subject2_name" class="required" label="合作共建单位-->单位性质" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject2_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject2" key="zdsys2" className="selectWidth2" onChange="initControlValue('applicant_subject2');diagnose()"  value="${applicant_subject2_value}"></cpt:select>
        </td>
    </tr>
    <tr>
        <td>属地</td>
        <td>
            <c:set var="applicant_subject3_value"><x:out select="$xmlData/data/proposal/applicant_subject3_value" /></c:set>
            <c:set var="appl_sub_params3">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code3" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject3_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject3_value" />" />
            <input name="proposal/applicant_subject3_name" class="required" label="合作共建单位-->属地" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject3_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject3" key="zdsys3" className="selectWidth3" onChange="initControlValue('applicant_subject3');diagnose()"  value="${applicant_subject3_value}"></cpt:select>
        </td>
        <td>是否签订有效合作协议</td>
        <td >
            <c:set var="environmentally_friendly_punish_value"><x:out select="$xmlData/data/proposal/environmentally_friendly_punish_value"/></c:set>
            <cpt:select id="environmentally_friendly_punish" key="yesorno" style="width:100px" className="selectWidth2"  onChange="initControlValue('environmentally_friendly_punish_value');diagnose()" value="${environmentally_friendly_punish_value}"></cpt:select>
            <input name="proposal/environmentally_friendly_punish_value" id="environmentally_friendly_punish_value" type="hidden" value="<x:out select="$xmlData/data/proposal/environmentally_friendly_punish_value" />"  />
            <input name="proposal/environmentally_friendly_punish_name" label="合作共建单位-->是否签订有效合作协议"  class="required" id="environmentally_friendly_punish_name" type="hidden" value="<x:out select="$xmlData/data/proposal/environmentally_friendly_punish_name"/>"/>
        </td>
        <td>所在地市</td>
        <td >
            <input name="proposal/city_proportion"  id="city_proportion"   class="required"
                   value="<x:out select="$xmlData/data/proposal/city_proportion" />"
                   style="text-align: left; width: 80%;" maxlength="50" label="合作共建单位-->所在地市"/>
        </td>
    </tr>
    <tr>
        <td>是否属于一流、高峰（培育）学科</td>
        <td>
            <c:set var="applicant_subject4_value"><x:out select="$xmlData/data/proposal/applicant_subject4_value" /></c:set>
            <c:set var="appl_sub_params4">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code4" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject4_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject4_value" />" />
            <input name="proposal/applicant_subject4_name" class="required" label="合作共建单位-->是否属于一流、高峰（培育）学科" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject4_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject4" key="zdsys4" className="selectWidth4" onChange="initControlValue('applicant_subject4');diagnose()"  value="${applicant_subject4_value}"></cpt:select>
        </td>
        <td>所属学科领域（高校院所填写）</td>
        <td >
            <c:set var="applicant_subject5_value"><x:out select="$xmlData/data/proposal/applicant_subject5_value" /></c:set>
            <c:set var="appl_sub_params5">
                {'grant_code':'<x:out select="$xmlData/data/proposal/sub_grant_code5" />','stat_year':'${statYear}'}
            </c:set>
            <input name="proposal/applicant_subject5_value" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject5_value" />" />
            <input name="proposal/applicant_subject5_name" class="required" label="合作共建单位-->所属学科领域（高校院所填写）" type="hidden" value="<x:out select="$xmlData/data/proposal/applicant_subject5_name" />" />
            <cpt:select  style="width: 90px;" id="applicant_subject5" key="zdsys" className="selectWidth5" onChange="initControlValue('applicant_subject5');diagnose()"  value="${applicant_subject5_value}"></cpt:select>

        </td>
        <td>优势专业领域方向（其他科研单位填写）</td>
        <td >
            <input name="proposal/superiority_proportion"  id="superiority_proportion"   class="required"
                   value="<x:out select="$xmlData/data/proposal/superiority_proportion" />"
                   style="text-align: left; width: 80%;" maxlength="50" label="合作共建单位-->优势专业领域方向（其他科研单位填写）"/>
        </td>
    </tr>
</table>
<%--<table class="t_css" width="100%" style="text-align: center;" id="table_08">
    <col style="width: 20%;" />
    <col style="width: 80%;" />
    <tr>
        <td align="right">
          <span class="color_red">*</span>项目简述：<br />（限280字）
        </td>
        <td>
            <textarea name="proposal/prj_brief" class="input_textarea required maxlength:280"
                label="项目简述" style="width: 98%" rows="9"><x:out
                    select="$xmlData/data/proposal/prj_brief" /></textarea>
            <input type="hidden" name="proposal/prj_brief_hidden"
                value="<x:out select="$xmlData/data/proposal/prj_brief_hidden" />" />
        </td>
    </tr>--%>



<!-- 主要研究方向 ，可手动添加 -->
<div class="t_bar">
    <span class="color_red">*</span>主要研究方向
</div>
<table id="eq_table1" class="t_css" width="100%">
    <col style="width: 5%" />
    <col style="width: 5%" />
    <col style="width: 90%" />
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">选择</th>
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">研究方向</th>
    </tr>
    </thead>
    <tbody id="tab">
    <tr style="display: none">
        <td align="center">
            <input type="radio" style="border: 0px; background-color: white;"
                   class="radiobutton" name="selButton1">
        </td>
        <td align="center">
            <span name="achievements|achievement[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input type="text" name="achievements|achievement[0]|research_direction"
                   class="required" maxlength="60" style="width: 80%" label="研究方向" value="" />
        </td>
    </tr>


    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                <input type="radio" style="border: 0px; background-color: white;"
                       class="radiobutton" name="selButton1">
            </td>
            <td align="center">
                    <span name="achievements/achievement[${flag}${index}]@seq_no"><x:out
                            select="$achievement/@seq_no" /></span>
            </td>

            <td align="center">
                <input type="text"
                       name="achievements/achievement[${flag}${index}]/research_direction"
                       value="<x:out select="$achievement/research_direction" />" maxlength="60"
                       class="required" style="width: 80%" label="研究方向 " />
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                   onclick="if(checkTabLimit('eq_table1',5,'主要研究方向 内容最多只能填写5条')){addNewRow('eq_table1');showDateTag('eq_table1');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                   onclick="movePrev('eq_table1','selButton1');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                   onclick="moveNext('eq_table1','selButton1');">
            <input class="button_02" name="cmddel" type=button value="删除"
                   onclick="deleteSelectedRow('eq_table1','主要研究方向');">
        </td>
    </tr>
</table>


<div class="t_bar">
    产学研合作（国内和国外各0-3条）
</div>
<table id="eq_table2" class="table01" cellpadding="0"  width="100%" style="*border-bottom: #a1c0dc 1px solid;">
    <col style="width: 5%">
    <col style="width: 5%">
    <col style="width: 25%">
    <col style="width: 8%">
    <col style="width: 8%">
    <col style="width: 37%">
    <thead>
    <tr style="border: 1px solid #B7D1E6">
        <th class="TblHead" align="center">选择</th>
        <th class="TblHead" align="center">序号</th>
        <th class="TblHead" align="center">合作单位名称</th>
        <th class="TblHead" align="center">区域</th>
        <th class="TblHead" align="center">单位性质</th>
        <th class="TblHead" align="center">合作内容</th>
    </tr>
    </thead>
    <tbody id="tab1">
    <tr style="display: none">
        <td align="center">
            <input type="radio" style="border: 0px; background-color: white;"
                   class="radiobutton" name="selButton2">
        </td>
        <td align="center">
            <span name="org_hzs|org_hz[0]@seq_no">[index]</span>
        </td>
        <td align="center">
            <input type="text" name="org_hzs|org_hz[0]|org_hz_name"
                   class="required" maxlength="60" style="width: 80%" label="合作单位名称" value="" />
        </td>
        <td align="center" >
            <cpt:select id="country_le_[index]" key="country_le"  name="org_hzs|org_hz[0]|country_le" onChange="initControlValue(this.id);" style="width:80%"></cpt:select>
            <input type="hidden" name="org_hzs|org_hz[0]|country_le_value" class="required" label="区域" value=""/>
            <input type="hidden" name="org_hzs|org_hz[0]|country_le_name" value=""/>
        </td>
        <td align="center" >
            <cpt:select id="award_level_[index]" key="unit_nature4"  name="org_hzs|org_hz[0]|award_level" onChange="initControlValue(this.id);" style="width:80%"></cpt:select>
            <input type="hidden" name="org_hzs|org_hz[0]|award_level_value" class="required" label="单位性质" value=""/>
            <input type="hidden" name="org_hzs|org_hz[0]|award_level_name" value=""/>
        </td>
        <td align="center" >
            <label> <input type="checkbox" class="do " onclick="setCkbVal1(this);" id="area_1_[index]" style="vertical-align: middle;" name="belong_area_[index]" label="项目开发" value="01" /><span style="vertical-align: middle;">项目开发</span></label>
            <label> <input type="checkbox" class="do " onclick="setCkbVal1(this);" id="area_2_[index]" style="vertical-align: middle;" name="belong_area_[index]" label="人才培养引进" value="02" /><span style="vertical-align: middle;">人才培养引进</span></label>
            <label> <input type="checkbox" class="do " onclick="setCkbVal1(this);" id="area_3_[index]" style="vertical-align: middle;" name="belong_area_[index]" label="学术交流" value="03" /><span style="vertical-align: middle;">学术交流</span></label>
            <label> <input type="checkbox" class="do " onclick="setCkbVal1(this);" id="area_4_[index]" style="vertical-align: middle;" name="belong_area_[index]" label="其它 " value="04" /><span style="vertical-align: middle;">其它</span></label>
            <input type="hidden" name="org_hzs|org_hz[0]|belong_area_value" id="belong_area_[index]_value" class="required" value="<x:out select="$xmlData/data/proposal/belong_area_value" />" label="合作内容" />
            <input type="hidden" name="org_hzs|org_hz[0]|belong_area_name" id="belong_area_[index]_name"  value="<x:out select="$xmlData/data/proposal/belong_area_name" />"><br/>
        </td>
    </tr>

    <c:set value="0" var="index" scope="page" />
    <x:forEach select="$xmlData/data/org_hzs/org_hz" var="org_hz">
        <c:choose>
            <c:when test="${index<10}">
                <c:set value="0" var="flag" scope="page" />
            </c:when>
            <c:otherwise>
                <c:set value="" var="flag" scope="page" />
            </c:otherwise>
        </c:choose>
        <tr>
            <td align="center">
                <input type="radio" style="border: 0px; background-color: white;"
                       class="radiobutton" name="selButton2">
            </td>
            <td align="center">
                    <span name="org_hzs/org_hz[${flag}${index}]@seq_no"><x:out
                            select="$org_hz/@seq_no" /></span>
            </td>

            <td align="center">
                <input type="text"
                       name="org_hzs/org_hz[${flag}${index}]/org_hz_name"
                       value="<x:out select="$org_hz/org_hz_name" />" maxlength="60"
                       class="required" style="width: 80%" label="合作单位名称 " />
            </td>

            <td align="center" >
                <c:set var="country_le_value"><x:out select="$org_hz/country_le_value" /></c:set>
                <cpt:select id="country_le_${index}" key="country_le" name="org_hzs/org_hz[${flag}${index}]/country_le" onChange="initControlValue(this.id);" value="${country_le_value }" style="width:80%"></cpt:select>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/country_le_value" class="required" label="区域" value="<x:out select="$org_hz/country_le_value" />"/>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/country_le_name" value="<x:out select="$org_hz/country_le_name" />"/>
            </td>

            <td align="center" >
                <c:set var="award_level_value"><x:out select="$org_hz/award_level_value" /></c:set>
                <cpt:select id="award_level_${index}" key="unit_nature4" name="org_hzs/org_hz[${flag}${index}]/award_level" onChange="initControlValue(this.id);" value="${award_level_value }" style="width:80%"></cpt:select>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/award_level_value" class="required" label="单位性质" value="<x:out select="$org_hz/award_level_value" />"/>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/award_level_name" value="<x:out select="$org_hz/award_level_name" />"/>
            </td>
            <td align="center" >
                <label> <input type="checkbox" class="do " id="area_1_{index}" onclick="setCkbVal1(this);" style="vertical-align: middle;" name="belong_area_${index}" label="项目开发" value="01" /><span style="vertical-align: middle;">项目开发</span></label>
                <label> <input type="checkbox" class="do " id="area_2_{index}" onclick="setCkbVal1(this);" style="vertical-align: middle;" name="belong_area_${index}" label="人才培养引进" value="02" /><span style="vertical-align: middle;">人才培养引进</span></label>
                <label> <input type="checkbox" class="do " id="area_3_{index}" onclick="setCkbVal1(this);" style="vertical-align: middle;" name="belong_area_${index}" label="学术交流" value="03" /><span style="vertical-align: middle;">学术交流</span></label>
                <label> <input type="checkbox" class="do " id="area_4_{index}" onclick="setCkbVal1(this);" style="vertical-align: middle;" name="belong_area_${index}" label="其它" value="04" /><span style="vertical-align: middle;">其它</span></label>
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/belong_area_value" id="belong_area_${index}_value" class="required" value="<x:out select="$org_hz/belong_area_value" />" label="合作内容" />
                <input type="hidden" name="org_hzs/org_hz[${flag}${index}]/belong_area_name" id="belong_area_${index}_name" value="<x:out select="$org_hz/belong_area_name" />" />

                <script type="text/javascript">
                    var vals=','+'<x:out select="$org_hz/belong_area_value" />'+',';
                    if(!!vals){
                        $("#eq_table2 input[name='belong_area_${index}']").each(function(i){
                            if(vals.indexOf(","+$(this).val()+",")>-1){
                                $(this).attr("checked",true);
                            }else{
                                $(this).removeAttr("checked");
                            }
                        });
                    }
                </script>
            </td>
        </tr>
        <c:set value="${index+1}" var="index" scope="page" />
    </x:forEach>
    </tbody>
</table>

<input type="hidden" id="number_seq" name="proposal/number_seq" value="<x:out select="$xmlData/data/proposal/number_seq" />">
<input type="hidden" id="number_seq2" name="proposal/number_seq2" value="<x:out select="$xmlData/data/proposal/number_seq2" />">


<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加"
                   onclick="if(checkTabLimit1('eq_table2',6,'产学研合作（国内和国外各0-3条） 内容最多只能填写6条')){addNewRow('eq_table2');showDateTag('eq_table2');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移"
                   onclick="movePrev('eq_table2','selButton2');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移"
                   onclick="moveNext('eq_table2','selButton2');">
            <input class="button_02" name="cmddel" type=button value="删除"
                   onclick="deleteSelectedRow('eq_table2','产学研合作（国内和国外各0-3条）');">
        </td>
    </tr>
</table>
<script type="text/javascript">


    //-------------计算合计------------------begin
    $('#topic_level1_year1_count,#topic_level1_year2_count,#topic_level1_year3_count').change(function(){
        getTotalCount('topic_level1_','year1_count,year2_count,year3_count','total_count',false);
    });
    $('#topic_level1_year1_fund,#topic_level1_year2_fund,#topic_level1_year3_fund').change(function(){
        getTotalCount('topic_level1_','year1_fund,year2_fund,year3_fund','total_fund',true);
    });
    $('#topic_level2_year1_count,#topic_level2_year2_count,#topic_level2_year3_count').change(function(){
        getTotalCount('topic_level2_','year1_count,year2_count,year3_count','total_count',false);
    });
    $('#topic_level2_year1_fund,#topic_level2_year2_fund,#topic_level2_year3_fund').change(function(){
        getTotalCount('topic_level2_','year1_fund,year2_fund,year3_fund','total_fund',true);
    });
    $('#topic_level3_year1_count,#topic_level3_year2_count,#topic_level3_year3_count').change(function(){
        getTotalCount('topic_level3_','year1_count,year2_count,year3_count','total_count',false);
    });
    $('#topic_level3_year1_fund,#topic_level3_year2_fund,#topic_level3_year3_fund').change(function(){
        getTotalCount('topic_level3_','year1_fund,year2_fund,year3_fund','total_fund',true);
    });

    $('#research_team_count_stutas6,#research_team_count_stutas7,#research_team_count_stutas8').change(function(){
        getTotalCount('research_team_','count_stutas6,count_stutas7,count_stutas8','total',false);
    });
    //-------------计算合计------------------end

    /**
     ----------------------by zk
     描述：计算数值总数
     参数prefix：公共的id开头
     参数count：需要加的数的id结尾     以,分割
     参数total：总数id结尾
     参数isDeciaml：是否为小数 默认为false
     */
    function getTotalCount(prefix,count,total,isDecimal){
        var defaultIsDecimal = false;//默认为整数
        if(isDecimal==null){
            isDecimal = defaultIsDecimal;
        }
        var numStr = count.split(',');
        var totalCount = 0;//总数
        if(!isDecimal){
            for ( var int = 0; int < numStr.length; int++) {
                var num = $('#'+prefix+numStr[int]).val();
                if(!$.isNumeric(num))
                    num = "0";
                totalCount += parseInt(num);
            }
        }else {
            for ( var int = 0; int < numStr.length; int++) {
                var num = $('#'+prefix+numStr[int]).val();
                if(!$.isNumeric(num))
                    num = "0";
                totalCount += parseFloat(num);
            }
            totalCount = ((totalCount/100)*100).toFixed(2);
        }
        $('#'+prefix+total).val(totalCount);
    }


    function initTreeValueExt(treeId, treeNode) {
        if ((treeNode && treeNode.isParent)) {
            scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
            $("#" + treeId).val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
            $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
            return false;
        }
        var str = treeNode.name;
        var obj = treeNode.parentNode;
        while (obj != null) {
            str = obj.name + "-" + str;
            obj = obj.parentNode;
        }

        $("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
        $("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
    }

    function peo() {

        var year1_investment = $("#year1_investment").val();
        var year1_sales_proportion = $("#year1_sales_proportion").val();


        $("#year1_proportion").val(formatVal((year1_investment/year1_sales_proportion)*100)+"%");

    }
    function peo2() {
        var year2_investment = $("#year2_investment").val();
        var year2_sales_proportion = $("#year2_sales_proportion").val();

        $("#year2_proportion").val(formatVal((year2_investment/year2_sales_proportion)*100)+"%");

        /*  $("#technology_develop_proportion").val(formatVal((degree/staff)*100)+"%");*/
    }
    function peo3() {

        var year3_investment = $("#year3_investment").val();
        var year3_sales_proportion = $("#year3_sales_proportion").val();
        $("#year3_proportion").val(formatVal((year3_investment/year3_sales_proportion)*100)+"%");
        /*  $("#technology_develop_proportion").val(formatVal((degree/staff)*100)+"%");*/
    }

    function checkTabLimit1(tableId,max,message)
    {
        var maxLinNum=$("#"+tableId+" tr").length-2;
        maxLinNum = maxLinNum - $('div').find("[id^='checkbox_dyn_cooperatives']").length;
        if(maxLinNum>=max)
        {
            scmWarn(message);
            return false;
        }
        return true;
    }
    function setCkbVal1(obj){
        var chkName=obj.name;
        var str_value = "";
        var str_name = "";
        var text = "";
        $("input[name='" + chkName + "']:checked").each(function() {
            var val=$(this).val();
            str_value += "," +val;
            text = $.trim($(this).parent().text());
            str_name += "，" + text;
        });
        //console.log(str_value.substring(1)+"|"+str_name.substring(1));
        if (str_value.length > 0) {
            $("#"+chkName+"_value").val(str_value.substring(1));
            $("#"+chkName+"_name").val(str_name.substring(1));
        }else{
            $("#"+chkName+"_value").val('');
            $("#"+chkName+"_name").val('');
        }

    }
    function difCountryValue(){
        var detailsMap = new Map();
        var detailsMap2 = new Map();
        var country_in = 0;
        var country_out = 0;
        $("#eq_table2").find("tr:gt(1)").each(function () {
            var  country_le_value =  $(this).find('select[id^="country_le_"]').val();
            if(country_le_value != ""){
                if(country_le_value == 1){
                    var seq_no =  $(this).find('span[name$="@seq_no"]').html().trim();
                    detailsMap.put(seq_no,country_le_value);
                    country_in+=1;
                }else if(country_le_value == 2){
                    var seq_no =  $(this).find('span[name$="@seq_no"]').html().trim();
                    detailsMap2.put(seq_no,country_le_value);
                    country_out+=1;
                }
            }
        })
        if(country_in > 3){
            irisValaddMsg("项目基本情况-->产学研合作（国内合作单位只能填0-3条，包含3条）")
        }
        if(country_out > 3){
            irisValaddMsg("项目基本情况-->产学研合作（国外合作单位只能填0-3条，包含3条）")
        }
        var arr = detailsMap.arr;
        var arr2 = detailsMap2.arr;
        for (var i = 0; i < arr.length; i++) {
            var seq_No_New = arr[0].key;
        }
        $("#number_seq").val(seq_No_New);
        for (var i = 0; i < arr2.length; i++) {
            var seq_No_New2 = arr2[0].key;
        }
        $("#number_seq2").val(seq_No_New2);
    }
</script>